Repository navigation
GA-9681: Separate package requirements and runtime constraints - #113
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block approval of the dependency and environment-constraint changes.
No open issues 🎉
What changed in this PR
This PR separates package requirements from environment constraints for the 4.9 beta distribution, while retaining Conda sourcing for indirect dependencies.
Changes:
- Remove Pillow as a direct Python and Conda package requirement.
- Express the Pillow security floor through Pixi constraints and Conda run constraints.
- Move Mira PyPI dependencies into a dedicated feature enabled in development, test, and runtime environments.
| File | Description |
|---|---|
| recipe.yaml | Move Pillow from runtime requirements to a minimum-version run constraint. |
| pyproject.toml | Remove the security-only Pillow dependency from package metadata. |
| pixi.toml | Separate source forcing from version constraints and introduce the mira-pypi feature. |
Review effort: Balanced (adaptive)
|
CI investigation: the Zizmor security scan failed on existing, unchanged workflow pins in python_analysis.yml lines 29 and 40 (hash pin points to unknown ref). The Python 3.12–3.14 matrix, pylint, CodeQL, and pre-commit checks passed. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Resolved the Zizmor failure by pinning both workflows to CI-tools v4.1.0 at its full commit SHA. The former branch no longer exists; the release and former commit have identical Git trees. Restored source-forcing Conda bounds to match Mira PyPI requirements (retaining the existing tighter h5py bound). Pixi lock check and Python 3.12 tests passed; the new CI checks passed. |
|
Updated the Mira PyPI index, refreshed the Pixi lock, passed JFrog secrets to analysis jobs, and aligned the development guide. Local verification: pixi lock --check; lock tests (2 passed); py312 tests (59 passed, 1 skipped); prek run --all-files passed; Sphinx docs build succeeded with pre-existing warnings. Anonymous index access returned 401; no local netrc credentials were available for an authenticated probe. |
|
Python analysis completed successfully on Linux and Windows for Python 3.12–3.14, including static analysis and Codecov. A cache reservation race was reported as a non-fatal warning. |
no more conda env lock files
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
ae6fbf2 to
0909863
Compare
|
|
There was a problem hiding this comment.
🟡 Changes recommended
Active critical issues remain: fork-based CI cannot authenticate to the locked private Mira index, and the package test environment lacks the PyYAML dependency needed to collect the new lock test.
4 open issues
Review effort: Lite
| JFROG_ARTIFACTORY_URL: ${{ secrets.JFROG_ARTIFACTORY_URL }} | ||
| JFROG_ARTIFACTORY_TOKEN: ${{ secrets.JFROG_ARTIFACTORY_TOKEN }} |



GA-9681 - update Python distribution for 4.9 beta
Remove the security-only Pillow package dependency; retain Conda source forcing and express the security floor as Pixi and Conda run constraints. Move Mira PyPI dependencies into a dedicated feature. Validation: Pixi lock check, all locked-environment source checks, Python 3.12 tests (57 passed, 1 skipped), recipe render, and prek hooks.